package com.leezk.order.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author leotong
 * @since 2022-03-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("dictionary")
public class Dictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("typeName")
    private String typeName;

    @TableField("typeCode")
    private String typeCode;

    @TableField("valueName")
    private String valueName;

    private String value;

    @TableField("isDelete")
    @TableLogic(value = "false",delval = "true")
    private Boolean isDelete;

    private Integer top;

}
